<!DOCTYPE HTML>
<html manifest="" lang="en-US">

<head>
    <meta charset="utf-8">
    <meta charset="utf-8" />
    <meta name="format-detection" content="telephone=no" />
    <!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 -->
    <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
    <title>LifeDjtu--人在交大</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link rel="stylesheet" href="res/css/bootstrap.css">
    <link rel="stylesheet" href="res/css/bootstrap-theme.css">
    <link rel="stylesheet"  href="res/css/jquery.mobile-1.4.1.css">
    <link rel="stylesheet" href="res/css/app.css">
    <script src="res/js/jquery.js"></script>
    <script src="res/js/jquery.mobile-1.4.1.js"></script>
    <script src="res/js/bootstrap.js"></script>
    <script type="text/javascript" src="cordova.js"></script>

    <script src="app/util.js"></script>
    <script src="app/index.js"></script>
    <script>
        //clearCache();
        if(window.localStorage.getItem('studentId')&&window.localStorage.getItem('privateKey')){
            window.location.href='app.html';
        }
        
    </script>
</head>

<body>
    <div></div>
    <div data-role="page" id="userExist">
        <div role="main" class="ui-content">
            <br>
            <br>
            <br>
            <br>
            <h1 class="lead text-center" style="font-size: 50px">Life Djtu</h1>
            <h4 class="text-info text-muted text-center">人在交大</h4>
            <br>
            <div class="form-group">
                <span class="help-block"><span class="lead">输入您的教务在线学号，登陆或创建账户</span></span>
                <input type="text" class="form-control" id="studentId" name="studentId" placeholder="您的学号,例如1018110331">
            </div>
            <a href="#nextstep"  data-transition="slide" class="ui-btn ui-shadow ui-corner-all ui-btn-b">下一步</a>
            <a style="display: none" href="#signin"  data-transition="slide" class="ui-btn ui-shadow ui-corner-all ui-btn-b">下一步</a>
            <a style="display: none" href="#signup"  data-transition="slide" class="ui-btn ui-shadow ui-corner-all ui-btn-b">下一步</a>

            <!--<a  href="app.html" data-ajax="false" data-transition="pop" class="ui-btn ui-btn-b"> <!--style="display: none"-->

        </div><!-- /content -->


    </div><!-- /page -->

    <div data-role="page" id="signin">
        <div role="main" class="ui-content">
            <br>
            <a href="../" data-rel="back"  class="ui-btn ui-shadow ui-corner-all ui-mini ui-btn-inline ui-icon-carat-l ui-btn-icon-left ui-alt-icon ui-nodisc-icon">返回</a>
            <br>
            <br>
            <h1 class="lead text-center" style="font-size: 50px">Life Djtu</h1>
            <h4 class="text-info text-muted text-center">人在交大</h4>
            <br>
            <div class="form-group">
                <label for="signin-password" class="text-center lead">您正在以<span class="text text-info lead span-studentId">...</span>登录到人在交大</label>
                <input type="password" class="form-control" id="signin-password" name="password" placeholder="输入教务在线密码登录">
            </div>
            <a href="#nextstep" data-ajax="false" data-transition="pop" class="ui-btn ui-shadow ui-corner-all ui-btn-b">登陆</a>
            <a style="display: none" href="app.html" data-ajax="false" data-transition="pop" class="ui-btn ui-shadow ui-corner-all ui-btn-b">登陆</a>


        </div><!-- /content -->
    </div><!-- /page -->

    <div data-role="page" id="signup">

        <div role="main" class="ui-content">
            <br>
            <a href="../" data-rel="back"  class="ui-btn ui-shadow ui-corner-all ui-mini ui-btn-inline ui-icon-carat-l ui-btn-icon-left ui-alt-icon ui-nodisc-icon">返回</a>
            <br>
            <br>
            <h1 class="lead text-center" style="font-size: 50px">Life Djtu</h1>
            <h4 class="text-info text-muted text-center">人在交大</h4>
            <br>
            <div class="form-group">
                <label for="signup-password" class="text-center lead">创建一个新账户: <span class="text text-warning lead span-studentId">...</span></label>
                <input type="password" class="form-control" id="signup-password" name="password" placeholder="输入教务在线密码注册">
            </div>
            <a href="#prepareUser" data-transition="slide" class="ui-btn ui-shadow ui-corner-all ui-btn-b">创建账户</a>


        </div><!-- /content -->
    </div><!-- /page -->

    <div data-role="page" id="prepareUser">
        <div role="main" class="ui-content">
            <br>
            <br>
            <h1 class="lead text-center" style="font-size: 50px">Life Djtu</h1>
            <h4 class="text-info text-muted text-center">人在交大</h4>
            <br>
            <h4 class="text-center text-muted"><span class="glyphicon glyphicon-list text-info"></span> 还差几步,就要成功啦</h4>
            <br>
            <div class="list-group text-center">
                <a class="list-group-item">
                    <span class="text-muted">获取用户资料信息<span class=""></span></span>
                </a>
                <a class="list-group-item">
                    <span class="text-muted">获取用户课程信息<span class=""></span></span>
                </a>
                <a class="list-group-item">
                    <span class="text-muted">获取用户考试信息<span class=""></span></span>
                </a>
            </div>
            <br>
            <a style="display: none" href="#startUse" data-ajax="false" data-transition="pop" class="ui-btn ui-btn-b"> <!--style="display: none"-->开始使用吧</a>
        </div><!-- /content -->
    </div><!-- /page -->

</body>

</html>
